//
//  RMMCommonAlertView.h
//  Romomo
//
//  Created by puman on 2016/10/27.
//  Copyright © 2016年 mazegong. All rights reserved.
//

#import <UIKit/UIKit.h>

@class RMMCommonAlertView;
@protocol RMMCommonAlertViewDelegate <NSObject>
// 代理方法把对应的点击button的inder传回去

- (void)commonAlertView:(RMMCommonAlertView *)commonAlertView didSelectItemAtIndex:(NSInteger)index;

@end

@interface RMMCommonAlertView : UIView

@property (assign, nonatomic) id<RMMCommonAlertViewDelegate> delegate;
@property (strong, nonatomic) UIView *backView;
+ (instancetype)commonAlertViewWithFrame:(CGRect)frame byArray:(NSArray *)titleArray;

@end
